/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author Administrator
 */
public class Simulation_Tower {
    private String flightNum;
    private String runwayNum;
    private int windSpeed;
    private int windDir;
    private String aroundArea;
    private String doWhat;
    
     public Simulation_Tower()
    {
        flightNum = null;
        runwayNum = null;
        windSpeed = 0;
        windDir = 0;
        aroundArea = null;
    }
    
    public Simulation_Tower(String db_flightNum, String db_runwayNum,
            int db_windSpeed, int db_windDir, String db_aroundArea)
    {
        flightNum = db_flightNum;
        runwayNum = db_runwayNum;
        windSpeed = db_windSpeed;
        windDir = db_windDir;
        aroundArea = db_aroundArea;
    }
    
    public String takeoff1()
    {
        return (flightNum + ", " + runwayNum + " cleared for takeoff"
                + ", wind " + windSpeed + " at " + windDir);
    }
    
    public String takeoff2()
    {
        return (flightNum + ", contact Departure 120.8");
    }
    
    public String takeoff3()
    {
        return ("repeat, " + flightNum + ", good day");
    }
    
    public String waitOutside()
    {
        return (flightNum + ", hold short of runway " + runwayNum);
    }
    
    public String waitInside()
    {
        return (flightNum + ", runway " + runwayNum + ", line up"
                + "and wait.");
    }
    
    public String landing1()
    {
        return (flightNum + ", tower, cleared to land runway " + 
                runwayNum + ", wind " + windDir + " at " + windSpeed
                + " knot");
    }
    
    public String landing2(String doWhat)
    {
        return (flightNum + ", " + doWhat
                + ", contact Ground 121.0");
    }
    
    public String inaround()
    {
        return (flightNum + ", go around");
    }
    
    public String setaround ()
    {
        return (flightNum + ", turn headiing 177, vector to " + aroundArea + " climb and maintain 4500, contact Departure 120.8.");
    }
    
}
